/**
 *  Copyright (c)  2011-2020 Panguso, Inc.
 *  All rights reserved.
 *
 *  This software is the confidential and proprietary information of Panguso, 
 *  Inc. ("Confidential Information"). You shall not
 *  disclose such Confidential Information and shall use it only in
 *  accordance with the terms of the license agreement you entered into with Panguso.
 */


/*

 /*

 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cn.edu.thu.log.tree;

import java.util.ArrayList;

/**
 * 多叉树节点
 * 
 * @author wan
 */
public class ManyTreeNode {
	private XMLNode data; // 节点内容
	private ArrayList<ManyTreeNode> childList; // 节点列表
/**
 * 
 * @param data parameter
 * @param childList parameter
 */
	public ManyTreeNode(XMLNode data, ArrayList<ManyTreeNode> childList) {
		this.data = data;
		this.childList = childList;
	}

	/**
	 * @return the node
	 */
	public XMLNode getData() {
		return data;
	}

	/**
	 * @param data
	 *            the node to set
	 */
	public void setData(XMLNode data) {
		this.data = data;
	}

	/**
	 * @return the childList
	 */
	public ArrayList<ManyTreeNode> getChildList() {
		return childList;
	}

	/**
	 * @param childList
	 *            the childList to set
	 */
	public void setChildList(ArrayList<ManyTreeNode> childList) {
		this.childList = childList;
	}

	// public ManyTreeNode getParentNode(ManyTreeNode childNode){
	//
	// }
}
